﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="TimeBankForm.aspx.cs" Inherits="App_Input_TimeBankForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 <table width="100%">
            <tr>
                <td align="left" >
                <script language="javascript" type="text/javascript">
                                        (new TitleBar('SearchBar', '时间银行')).showBar();
                            </script>
                </td>
            </tr>
            <tr>
                <td>
    <asp:GridView ID="GridView1" runat="server" CssClass="GridView_table" AutoGenerateColumns="False"  Width="100%"
     OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnRowDataBound="GridView1_RowDataBound"
        BorderWidth="0px" AllowPaging="True" DataKeyNames="YigongId">
        <Columns>
            <asp:BoundField HeaderText="活动名称" DataField="">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="10%" />
            </asp:BoundField>
            <asp:BoundField HeaderText="义工姓名" DataField="NameC">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="10%" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="存入时间">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
                </EditItemTemplate>
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="20%" />
                <ItemTemplate>
                    <asp:TextBox ID="txtTimeIn" runat="server" Width="57px"  ></asp:TextBox>&nbsp;(分钟)
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="支出时间"> 
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server" ></asp:TextBox>
                </EditItemTemplate>
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="20%" />
                <ItemTemplate>
                    <asp:TextBox ID="txtTimeOut" runat="server" Width="55px"></asp:TextBox>&nbsp;(分钟)
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="余额" DataField="TimeLeft">
                <ItemStyle CssClass="GridView_item_center"  />
                <HeaderStyle CssClass="GridView_head_grayblue" Width="20%" />
            </asp:BoundField>
           
           
        </Columns>
        <PagerStyle HorizontalAlign="Right" VerticalAlign="Middle" />
    </asp:GridView>
    </td>
    </tr>
    <tr>
                <td align="center" style="height: 43px" valign="bottom" >
                    <asp:Button ID="btn_Save" runat="server" Text="登 记" CssClass="button" OnClick="btn_Save_Click" Width="87px" OnClientClick="return confirm('确定要登入数据吗？')"  />
                    &nbsp;&nbsp;
                    <asp:Button ID="btn_Back" runat="server" Text="返 回" CssClass="button" Width="87px" OnClick="btn_Back_Click" /></td>
            </tr>
    </table>
</asp:Content>
